package com.bt.lms.ui.action.divide.plan;


import com.bt.lms.ui.page.common.action.pagerecord.SeparateClassLabAction;
import com.bt.lms.ui.page.classes.ManualShift;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.scene.layout.Pane;

public class ManualShiftBtnAction implements EventHandler {
    @Override
    public void handle(Event event) {
        ManualShift manualShift = new ManualShift();

        Pane pane = SeparateClassLabAction.pageSkipInfo.getPane();
        Integer index = SeparateClassLabAction.pageSkipInfo.getIndex();
        pane.getChildren().set(index, manualShift);

    }
}
